<template>
  <tr>
    <td>
      <input v-model.number="item.count" type="number" name="" id="" />
    </td>
    <td>
      {{ item.goodsName }}
    </td>
    <td>
      <span>{{ item.count == 0 ? "卖光了" : "" }}</span>
    </td>
  </tr>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    item: {
      type: Object,
      default() {
        return {}
      }
    }
  }
};
</script>

<style lang="scss" scoped>
</style>